riscv: dts: spacemit: PCIe and PHY-related updates
authorAlex Elder <elder@riscstar.com>
Thu, 18 Dec 2025 15:12:31 +0000 (09:12 -0600)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 12 Mar 2026 12:28:10 +0000 (13:28 +0100)
commit7e3a273a5f7b5d5b8b1af4a7de2acd933e379295
treeffe0ec6254836e3ebfaaa3680e63351d8735f73a
parent4a8f1541cef19904c97e8c350af7472eedd74a90
riscv: dts: spacemit: PCIe and PHY-related updates

Origin: https://git.kernel.org/linus/0be016a4b5d1b927de04e2e7a0a2bce51aacbfff

Define PCIe and PHY-related Device Tree nodes for the SpacemiT K1 SoC.

Enable the combo PHY and the two PCIe-only PHYs on the Banana Pi BPI-F3
board.  The combo PHY is used for USB on this board, and that will be
enabled when USB 3 support is accepted.

The combo PHY must perform a calibration step to determine configuration
values used by the PCIe-only PHYs.  As a result, it must be enabled if
either of the other two PHYs is enabled.

Signed-off-by: Alex Elder <elder@riscstar.com>
Reviewed-by: Yixun Lan <dlan@gentoo.org>
Tested-by: Yixun Lan <dlan@gentoo.org>
Link: https://lore.kernel.org/r/20251218151235.454997-6-elder@riscstar.com
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Gbp-Pq: Topic features/riscv64
Gbp-Pq: Name riscv-dts-spacemit-PCIe-and-PHY-related-updates.patch
arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
arch/riscv/boot/dts/spacemit/k1-pinctrl.dtsi
arch/riscv/boot/dts/spacemit/k1.dtsi